how did the soviet union work